﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace AVCare.LMS.Models
{
    [DisplayName("Role")]
    [Table("SYS_ROLE")]
    public class Role
    {
        [Key]
        [Column("ROLE_ID")]
        public string ID { get; set; }

        [Column("ROLE_NAME")]
        public string Name { get; set; }

        public List<UserRole> UserRoles { get; set; }
        public List<RoleFunction> RoleFunctions { get; set; }


    }
}
